<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <% 
 String path=request.getContextPath();
 request.setAttribute("path", path);
 %>
<!DOCTYPE html>
<html>
<head>

<title>Insert title here</title>
</head>
<body>
	${requestScope.error }
  	
    <form action="${path}/login/checkLogin" method="post">
    	用户名:<input type="text" name="userName"/><br/>
    	密码:<input type="password" name="userPwd"/><br/>
    	<input type="submit" value="提交"/>
    	<a href="${path}/common/reg.action">注册</a>
    </form>
</body>
</html>